package aspirateur;

import java.net.MalformedURLException;
import java.net.URL;

public class CSSandJSDownloader extends FileDownloader{

	private final static int TAILLE_CSS = 512;
	
	public CSSandJSDownloader(String _url, String _src, String _dest){
		super(_src, _dest);
		try {
			url = new URL(_url);
			src = _src;
		} catch (MalformedURLException e) {
			e.printStackTrace();
		}
	}
	
	public void save() {
		saveFile(TAILLE_CSS);
	}
}
